<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>

    <xsl:template match="/">
        <html>
            <body>
                <xsl:apply-templates />
            </body>
        </html>
    </xsl:template>
<xsl:param name="param" value ="ddd"/>
    <xsl:template match="product_lists">
        <table border="2" width="75%" background-color="red">
            <xsl:for-each select ="product[contains(name,$param)]">
                <tr>
                    
                    <td>
                        <xsl:value-of select="id"/>
                    </td>
                  
                    <td>
                        <xsl:value-of select="name"/>
                    </td>
                    <td>
                        <xsl:value-of select="detail"/>
                    </td>
                    <td>
                        <xsl:value-of select="price"/>
                    </td>
                </tr>
            </xsl:for-each>
        </table>
    </xsl:template>

</xsl:stylesheet>
